﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;
namespace SQT.tracnghiem.Ajax.ASP.Lesson
{
    public partial class edit_talk_content : System.Web.UI.Page
    {
        public int id;
        public string result, content, train, name;
        protected void Page_Load(object sender, EventArgs e)
        {
            id = int.Parse(Request.Form["id"]);
            content = Request.Form["content"];
            result = Request.Form["result"];
            train = Request.Form["train"];
            name = Request.Form["name"];
            new TblLessonTalkingContentController().Update(id, name, null, content, result, train);
        }
    }
}